package com.knowledgegraph;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.neo4j.repository.config.EnableNeo4jRepositories;

/**
 * 知识图谱系统启动类
 * 
 * @author system
 * @since 2024-01-01
 */
@SpringBootApplication
@MapperScan("com.knowledgegraph.mapper")
@EnableNeo4jRepositories(basePackages = "com.knowledgegraph.repository")
public class KnowledgeGraphApplication {

    public static void main(String[] args) {
        SpringApplication.run(KnowledgeGraphApplication.class, args);
        System.out.println("知识图谱系统启动成功！");
    }
}